<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/4/20
  Time: 9:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/UpdateNewsServlet" method="post">
    <div>id:<input type="text" name="id" value="${newsModel.id}" readonly></div>
    <div>标题：<input type="text" id="title" name="title" value="${newsModel.title}"></div>
    <div>内容：<input type="text" id="content" name="content" value="${newsModel.content}"></div>
    <div>是否推荐：
        <label><input type="radio" name="isTuijian" id="isTuijian1" value="是">是</label>
        <input type="radio" name="isTuijian" id="isTuijian0" value="否" checked><label for="isTuijian0">否</label>
    </div>
    <div>是否置顶：<input type="checkbox" name="isTop" id="isTop"></div>
    <div><input type="submit"></div>
</form>
</body>
</html>
